From c8933b9ccb27ff769ada6c82842f7f9cc2cd8cbc Mon Sep 17 00:00:00 2001 From: Drew Parsons Date: Wed, 28 Jan 2026 09:42:02 +0100 Subject: [PATCH] remove version-specific references from debian/rules --- debian/changelog | 1 + debian/rules | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 632f0151f..e694e0612 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ vtk9 (9.5.2+dfsg3-3) UNRELEASED; urgency=medium * build docs in arch-indepedent build only + * remove version-specific references from debian/rules -- Drew Parsons Wed, 28 Jan 2026 09:39:36 +0100 diff --git a/debian/rules b/debian/rules index a278221c1..f868b0cd8 100755 --- a/debian/rules +++ b/debian/rules @@ -137,14 +137,14 @@ override_dh_auto_install: ifneq ($(JAVA_HOME),) mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk.jar $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk9.jar endif - sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.5/VTK-targets.cmake + sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-*/VTK-targets.cmake execute_after_dh_install: rm -rf $(CURDIR)/debian/tmp/usr/share/licenses find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -delete || true find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -delete || true - find $(CURDIR)/debian/libvtk9.5/ -name "*Qt*" -delete || true - find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.5/doxygen -name "_formulas.log" -delete || true + find $(CURDIR)/debian/libvtk9*/ -name "*Qt*" -delete || true + find $(CURDIR)/debian/tmp/usr/share/doc/vtk-*/doxygen -name "_formulas.log" -delete || true find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -delete || true # Fix privacy breach -- 2.30.2